<%@page language="java" import="util.*, java.sql.*, beans.*, java.text.*" %>
<%@page pageEncoding="UTF-8"%>
<html><!-- #BeginTemplate "/Templates/template.dwt" --><!-- DW6 -->
<head>
<!-- #BeginEditable "doctitle" -->
<title>Free Dreamweaver Template 6 from Entheosweb.com </title>
<!-- #EndEditable -->
<!-- #BeginEditable "javascript" -->




<!-- #EndEditable -->
<meta http-equiv="Content-Type" content="text/html;">
<link rel="stylesheet" href="/FYP/admin/styles.css" type="text/css">
<style type="text/css">
<!--
.style1 {color: #000000}
.style3 {font-size: 16}
-->
</style>
</head>
<body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" link="#999966" vlink="#333333">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
  <tr>
    <td bgcolor="#CC3300" height="16"><img src="/FYP/admin/images/spacer.gif" width="1" height="16"></td>
  </tr>
  <tr>
    <td height="4"><img src="/FYP/admin/images/spacer.gif" width="1" height="4"></td>
  </tr>
  <tr>
    <td valign="top" height="95"><table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#999966">
        <tr>
          <td width="20" align="left" valign="top"><img name="headerleft" src="/FYP/admin/images/header-left.gif" width="20" height="95" border="0"> </td>
          <td class="companyname">Captain Hook's Store Admin Page
            <%
              String msg = util.Utilities.isCorrectStaffLogin(session);
   			 String loginname = (String)session.getAttribute("username");
   			 if(msg != null) {
     			   response.sendRedirect("../index.jsp");
   			 }else {
            %>
              <div align="right"><h7><span class="style1"><span class="style3">Hi!&nbsp;<%= loginname%>&nbsp;&nbsp; 
              <a href="/FYP/logout.jsp">logout</a></span></span></h7>
              </div>
            <%
			 }
            %>
          </td>
          <td width="172"><img name="image" src="/FYP/admin/images/image.jpg" width="150" height="83" border="0"></td>
          <td align="right" valign="top" width="19"><img name="headerright" src="/FYP/admin/images/header-right.gif" width="19" height="95" border="0"></td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td height="4"><img src="/FYP/admin/images/spacer.gif" width="1" height="4"></td>
  </tr>
  <tr>
    <td height="16" bgcolor="#CC3300"><img src="/FYP/admin/images/spacer.gif" width="1" height="16"></td>
  </tr>
  <tr>
    <td><img src="/FYP/admin/images/spacer.gif" width="1" height="2"></td>
  </tr>
  <tr>
    <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
        <tr>
          <td width="151" bgcolor="#999966" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="38">&nbsp;</td>
                <td align="right"><img name="navcorner" src="/FYP/admin/images/nav-corner.gif" width="57" height="55" border="0"></td>
              </tr>
              <tr>
                <td width="38">&nbsp;</td>
                <td><SCRIPT src="/FYP/admin/displayMyFlash.js"></SCRIPT>
                </td>
              </tr>
            </table></td>
          <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="30">
              <tr>
                <td class="content" valign="top"><!-- #BeginEditable "content" -->{content}<!-- #EndEditable --></td>
              </tr>
            </table></td>
          <td width="22" align="right" valign="bottom"><img name="rightgrad" src="/FYP/admin/images/right-grad.jpg" width="22" height="179" border="0" align="bottom"></td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td height="2"><img src="/FYP/admin/images/spacer.gif" width="1" height="2"></td>
  </tr>
  <tr>
    <td height="20" bgcolor="#CC3300" align="center" valign="middle" class="footer">All 
      Rights Reserved. Copyright &copy; Captain Hook's store. </td>
  </tr>
  <tr>
    <td height="2"><img src="/FYP/admin/images/spacer.gif" width="1" height="2"></td>
  </tr>
</table>
</body>
<!-- #EndTemplate --></html>
